package cn.xydpeng.springframework.beans.factory;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2022/10/20
 * @description:
 */
public interface FactoryBean<T> {

    T getObject() throws Exception;

    Class<?> getObjectType();

    default boolean isSingleton() {
        return true;
    }
}
